package com.zixi.ai.eaxmple.mcp.weather.client.demo;

import org.apache.commons.lang3.RandomStringUtils;
import org.apache.commons.text.RandomStringGenerator;
import org.junit.Test;

/**
 * @author wfg
 */
public class Demotest {
    @Test
    public void testInStr() {
        String dr = RandomStringUtils.randomNumeric(6);
        System.out.println("dr:" + dr);
        RandomStringGenerator rsg = new RandomStringGenerator.Builder().withinRange('0', '9').get();
        System.out.println(rsg.generate(6));
    }
}
